<div align="right">
    <button id="cart" (click)="printCoor()">购物车{{count}}</button>
</div>&nbsp;


<div class="col-xs-6 col-md-3" *ngFor="let item of goddess;let itemIndex = index">
    <a class="thumbnail" >
        <img style="width: 100px;height: 100px;" class="imgStyle" src="assets/goddess.jpg" id="img{{item.index}}" (click)="addCart(item.index)">
    </a>
</div>
<button (click)="ball2Cart1()" id="btn">小球飞</button>

<a hidden>
    <img style="width: 30px;height: 30px;" src="assets/greenBall.jpg" id="img">
</a>
